package com.itheima.dubbo.provider;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = "com.itheima.dubbo.provider.mapper")
@EnableDubbo(scanBasePackages = "com.itheima.dubbo.provider.service.impl")
public class ProviderMain {
    public static void main(String[] args) {
        SpringApplication.run(ProviderMain.class,args);
        System.out.println("生产者启动了--------");
    }
}
